package com.novel.app.view;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.novel.app.R;
import com.novel.app.view.main.MainActivity;

import cn.jpush.android.api.JPushInterface;

public class SpActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_sp);
    }

    //跳过广告
    public void onJump(View view){
        startActivity(new Intent(this,MainActivity.class));
        finish();
    }
    @Override
    protected void onResume() {
        super.onResume();
        JPushInterface.onResume(this);
    }
    @Override
    protected void onPause() {
        super.onPause();
        JPushInterface.onPause(this);
    }

}
